import request from '@/utils/request'

/**
 * 船舶船名船号和cn号查询方法
 * @param formData
 * @returns {AxiosPromise}
 */
export function queryShipInfoOne(formData) {
  return request({
    url: `/yxdd/ship/query/one`,
    method: 'post',
    data: formData
  })
}

/**
 * 船舶船名船号和cn号查询海事数据
 * @param formData
 * @returns {AxiosPromise}
 */
export function queryHaishiShipInfoCondition(formData) {
  return request({
    url: `/yxdd/ship/haishi`,
    method: 'post',
    data: formData
  })
}

/**
 * 船舶首录接口
 * @param formData
 * @returns {AxiosPromise}
 */
export function shipFirstRecord(formData) {
  return request({
    url: `/yxdd/ship/record`,
    method: 'post',
    data: formData
  })
}
